text JS屬性 語法


Posted by mijouhsieh on 2023-03-15

字串不是空白
string.trim().length > 0

輸入框節點內的值
input.value


#text-js-property-syntax #trim







Related Posts

Day05 state 及 props 的應用

Day05 state 及 props 的應用

1789. Primary Department for Each Employee

1789. Primary Department for Each Employee

[ 筆記 ] Express 02 -  Middleware, hash, escape

[ 筆記 ] Express 02 - Middleware, hash, escape


Comments